//订单相关
import http from '../request';
//添加订单
export function addOrderApi(data) {
  return http({
    method: 'post',
    url: '/api/shop/order',
    data,
  });
}
//删除订单
export function delOrderApi(id) {
  return http({
    method: 'delete',
    url: `/api/shop/order/${id}`,
  });
}
//获取订单列表
export function getOrderListApi() {
  return http({
    method: 'get',
    url: '/api/shop/order',
  });
}
//更新订单信息
export function putOrder(){
  return http({
    
  })
}
//支付订单
